package org.westboy.mybatis.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;
import org.westboy.mybatis.model.MallbuilderProductOrderPro;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface MallbuilderProductOrderProMapper extends Mapper<MallbuilderProductOrderPro> {

    @Select("SELECT * FROM `mallbuilder_product_order_pro` WHERE order_id  in(${orderIds})")
    @ResultMap("BaseResultMap")
    List<MallbuilderProductOrderPro> findByParentId(@Param("orderIds") String orderIds);



}